{extend name="public/common"} {block name="body"}
<title>基本设置</title>
<style type="text/css">
	table tbody {
		display:block;
		height:650px;
		overflow-y:scroll;
		}
		
	table thead, tbody tr {
		display:table;
		width:100%;
		table-layout:fixed;
		}
		
	table thead {
		width: calc( 99.87% - 1em )
		}

	.bg-1 {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}
 .radius:hover{
 	background:#e5e5e5;
 	border-color: #e5e5e5;
 	color: #333;
 }
 span:hover{
 	color: #333;
 }

</style>
</head>
<body>
  <nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    代理管理
    <span class="c-gray en">&gt;</span>
    合作商列表
    <a class="btn btn-success radius r"
      style="line-height: 1.6em; margin-top: 3px"
      href="javascript:location.replace(location.href);" title="刷新">
      <i class="Hui-iconfont">&#xe68f;</i>
    </a>
  </nav>
  
  <div style="padding:20px;height:30px;">
  	
  	<div class="new_box">
   <div style="height:30px;">
    <div style="float:left;height: 40px;width: 100%;background-color: #e5e5e5;border-bottom: 1px solid #e4e7ed;">
      <a style="color: white;background-color: #636363;" class="btn btn-primary radius" href="{:url('member/us_dlnew')}">新增合作商</a>
    </div>
  </div>
  <div style="height:20px;">
  </div>
  <div class="text-c" style="margin-top:10px;">
    <form action="" enctype="application/x-www-form-urlencoded" method="post" class="l" style="margin-left:20px;">
  
    <input type="text" name="user_ss" id="" placeholder=" 账号/ID/姓名/手机" style="width:150px" class="input-text">
     <button class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
    <span style="margin-left:30px;">月份查询：</span>
    <input type="text" name="date_ss" value="{:input('post.date_ss')}" onfocus="WdatePicker({maxDate:'%y-%M-%d',dateFmt:'yyyy-MM'})" id="logmin" class="input-text Wdate" style="width:120px;">
    <button class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
    
  </form>
  
  </div>
  
  <div class="page-container" style="margin-top:30px;">
      <div id="tab-system" class="HuiTab">
        <div class="tabCon">
          <div class="mt-20">
            <table
              class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
              <thead>
                <tr class="text-c">
                  <th>ID</th>
                  <th>用户名</th>
                  <th>团队人数</th>
                  <th>有效投注金额</th>
                  <th>有效充值金额</th>
                  <th>有效提现金额</th>
                  <th>优惠彩金总额</th>
                  <th>月注册总人数</th>
                  <th>团队盈利金额</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>
             {volist name="query" id="item"  key="k"}
                <tr class="text-c">
                  <td>{$item.id}</td>
                  <td class="text-l">{$item.username}</td>
                  <td>{$daili_renshu[$k-1][1]}</td>
                  <td style='text-align:center'>{$daili_renshu[$k-1][4]}</td>
                  <td>{$daili_renshu[$k-1][2]}</td>
                  <td>{$daili_renshu[$k-1][3]}</td>
                  <td>{$daili_renshu[$k-1][5]}</td>
                  <td>{$daili_renshu[$k-1][6]}</td>
                  <td>{$daili_renshu[$k-1][7]}</td>
                  <td class="f-14 td-manage">
         
                   <a href="{:url('member/dl_xx_list')}?DLUSER={$item.username}" title="代理【 lss_test 】下线列表"><i class="Hui-iconfont">&#xe667;</i></a>
                   
                   <a href="{:url('member/dl_zh')}?DLUSER={$item.username}" title="检查/修改"><i class="Hui-iconfont">&#xe6df;</i></a> <!--代理账号查询/修改-->
               </td>
               
                </tr>
                {/volist}
              </tbody>
            </table>
          </div>
        </div>
      </div>
  </div>

</div>
	</div>
  {/block}


{block name="js"}
<script type="text/javascript" src="__SYSMET__/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript">
    $(function() {
  $('.skin-minimal input').iCheck({
    checkboxClass : 'icheckbox-blue',
    radioClass : 'iradio-blue',
    increaseArea : '20%'
  });
  $("#tab-system").Huitab({
    index : 0
  });
});
</script>

{/block}

